<%@ include file="/WEB-INF/jspf/taglib.jspf" %>
<%-- Set language based on user's choice --%>
<c:if test="${!empty language}">
    <fmt:setLocale value="${language}" scope="session" />
</c:if>
<%String data=request.getParameter("userlog");%>

<span class="content clearfix">
    <div class="left">
        <h1><fmt:message key="Welcome"/></h1>
        
        <fmt:message key="Editprofile"/><a onclick="HeaderMenuClick('SRV/MUserDetail', 'section #container', this)"><fmt:message key="click"/> &raquo; </a><br/>
        <input type="button" name="btnLogout" value="Logout" class="bt_login" onclick="ContentAjaxRequest('login/login', '#panel')"/>
        <img src="images/user.png"/>
    </div>
    <div class="left">
        <% if("user".equals(data)){%>
        <h1>Plan </h1>
        <h2>My Plan</h2>
        <p class="grey">You can find your cure plan from the status, doctor name,...as <a href="javascript:ContentAjaxRequest('SRV/SRV_CureplanList', 'section #container')" title="Download">follows click &raquo;</a></p>
        <%}else if ("doctor".equals(data)){%>
        <h1>Plan </h1>
        <h2>Doctor Plan</h2>
        <p class="grey">You can find all the services from the price, doctor name, hospital as<a href="javascript:ContentAjaxRequest('SRV/CurePlanProviderList', 'section #container')"> follows click &raquo;</a></p>
        <%}else if("admin".equals(data)){%>
        <h1>Master Data</h1>
        <p class="grey">Doctor<a href="javascript:ContentAjaxRequest('SRV/MDoctorList', 'section #container')"> follows click &raquo;</a></p>
        
        <p class="grey">Hospital<a href="javascript:ContentAjaxRequest('SRV/MHospitalList', 'section #container')"> follows click &raquo;</a></p>

        <p class="grey">Hotel<a href="javascript:ContentAjaxRequest('SRV/MHotelList', 'section #container')"> follows click &raquo;</a></p>
        
        <p class="grey">Service<a href="javascript:ContentAjaxRequest('SRV/CureServiceList', 'section #container')"> follows click &raquo;</a></p>

        <p class="grey">Doctor Service (ESB)<a href="javascript:ContentAjaxRequest('WebServiceClient/WSC_insertDoctor', 'section #container')"> follows click &raquo;</a></p>

        <p class="grey">Treatment Service (ESB)<a href="javascript:ContentAjaxRequest('WebServiceClient/WSC_insertTreatment', 'section #container')"> follows click &raquo;</a></p>
        <%}%>
    </div>
    <div class="left right">

    </div>
</span>